package com.itheima.d18_objects;

import java.util.Objects;

public class Test {
    public static void main(String[] args) {
        String s1 = "A";
        String s2 = new String("A");
        System.out.println(Objects.equals(s1,s2));
    }
}
